# -*-coding:utf-8 -*-
from content.api.views import *
from rest_framework.urlpatterns import format_suffix_patterns
from django.urls import include, path
from rest_framework.routers import DefaultRouter

router = DefaultRouter()
router.register(r'all', ContentApiViewSet)
router.register(r'howtogo', HowToGoApiViewSet)
router.register(r'notice', NoticeAPIView)
router.register(r'notify', NotifyAPIView)
router.register(r'news', NewsAPIView)
router.register(r'officedoc', OfficeDocAPIView)
router.register(r'video', VideoAPIView)
router.register(r'picture', PictureAPIView)
router.register(r'cat', CatContentApiViewSet)
router.register(r'thirdparty', ThirdPartyAPIView)

urlpatterns = (path('content/', include(router.urls)),)
